package com.ruoyi.cangku.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * kucun对象 kucunguanli
 *
 * @author ruoyi
 * @date 2023-11-07
 */
public class Kucunguanli extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    private Integer id;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private String shangpinbianhao;

    /**
     * 商品库存
     */
    @Excel(name = "商品库存")
    private Long shangpinshuliang;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String shangpintupian;

    /**
     * 商品条码
     */
    @Excel(name = "商品条码")
    private String shangpintiaoma;

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getId () {
        return id;
    }

    public void setShangpinbianhao (String shangpinbianhao) {
        this.shangpinbianhao = shangpinbianhao;
    }

    public String getShangpinbianhao () {
        return shangpinbianhao;
    }

    public void setShangpinshuliang (Long shangpinshuliang) {
        this.shangpinshuliang = shangpinshuliang;
    }

    public Long getShangpinshuliang () {
        return shangpinshuliang;
    }

    public void setShangpintupian (String shangpintupian) {
        this.shangpintupian = shangpintupian;
    }

    public String getShangpintupian () {
        return shangpintupian;
    }

    public void setShangpintiaoma (String shangpintiaoma) {
        this.shangpintiaoma = shangpintiaoma;
    }

    public String getShangpintiaoma () {
        return shangpintiaoma;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("shangpinbianhao", getShangpinbianhao())
                .append("shangpinshuliang", getShangpinshuliang())
                .append("shangpintupian", getShangpintupian())
                .append("shangpintiaoma", getShangpintiaoma())
                .toString();
    }
}
